package com.shrct.businessprocess.project;

import com.shrct.businessprocess.project.RCProjectTypeExtension;
import com.shrct.businessprocess.project.impl.RCProjectServiceDurationImpl;
import com.shrct.businessprocess.project.proxy.RCProjectServiceDurationProxy;
import edu.fudan.mylang.pf.EntityImplementation;
import java.util.Date;

@EntityImplementation(implementBy = RCProjectServiceDurationImpl.class)
public interface RCProjectServiceDuration extends RCProjectTypeExtension {
  public abstract Date getStartDate();
  
  public abstract RCProjectServiceDuration setStartDate(final Date startDate);
  
  public abstract Date getEndDate();
  
  public abstract RCProjectServiceDuration setEndDate(final Date endDate);
  
  public abstract void initType();
  
  public abstract Double calcPercent();
  
  public abstract Double calcTotalIncome();
  
  public abstract RCProjectServiceDurationProxy toProxy();
}
